package com.lihepeng.leecode.mulitithread;

public class PrintSolution {
    public static void main(String[] args) throws InterruptedException {
        Thread t1 = new Thread(()->{
            System.out.print("1->");
        });
        Thread t2 = new Thread(()->{
            System.out.print("2->");
        });
        Thread t3 = new Thread(()->{
            System.out.print("3->");
        });
        t1.start();
        t2.start();
        t3.start();
    }

}
